﻿using System;
using System.Web;
using System.Web.Mvc;
using RhotCMS.Filters;
using RhotCMS.Models;

namespace RhotCMS
{
    public class FilterConfig
    {
        public static void RegisterGlobalFilters(GlobalFilterCollection filters)
        {
            filters.Add(new HandleErrorAttribute());
            filters.Add(new PreviewAttribute());
            filters.Add(new CacheManagerAttribute());
            filters.Add(new RhotCMSAuthorizeAttribute());
            filters.Add(new LocalizationAttribute());
        }
    }
}